package com.jinmdz.fmis.mapper.entity;

import com.jinmdz.fmis.mapper.annotation.MyColumn;
import com.jinmdz.fmis.mapper.annotation.MyTable;
import com.jinmdz.fmis.mapper.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 接运物品实际明细关联表Entity
 *
 * @author generator
 * @date 2020-07-06 11:20
 */
@MyTable(value = "RecActualItemEntity", name = "rec_actual_item", comment = "接运物品实际明细关联表")
public class RecActualItemEntity extends BaseEntity {
    /**
     * 接运外键
     */
    @MyColumn(value = "recId", name = "rec_id", comment = "接运外键", required = true)
    private Integer recId;

    /**
     * 接运二维码
     */
    @MyColumn(value = "recCode", name = "rec_code", comment = "接运二维码", required = true)
    private String recCode;

    /**
     * 服务项目外键
     */
    @MyColumn(value = "serviceItemId", name = "service_item_id", comment = "服务项目外键", required = true)
    private Integer serviceItemId;

    /**
     * 项目价格
     */
    @MyColumn(value = "itemPrice", name = "item_price", comment = "项目价格", required = true)
    private BigDecimal itemPrice;

    /**
     * 项目数量
     */
    @MyColumn(value = "itemNumber", name = "item_number", comment = "项目数量", required = true)
    private BigDecimal itemNumber;

    /**
     * 项目单位
     */
    @MyColumn(value = "itemUnit", name = "item_unit", comment = "项目单位")
    private String itemUnit;

    /**
     * 项目金额
     */
    @MyColumn(value = "itemCharge", name = "item_charge", comment = "项目金额", required = true)
    private BigDecimal itemCharge;

    /**
     * 优惠金额
     */
    @MyColumn(value = "discountCharge", name = "discount_charge", comment = "优惠金额", required = true)
    private BigDecimal discountCharge;

    /**
     * 惠民金额
     */
    @MyColumn(value = "benefitCharge", name = "benefit_charge", comment = "惠民金额", required = true)
    private BigDecimal benefitCharge;

    /**
     * 实际收费金额
     */
    @MyColumn(value = "realityCharge", name = "reality_charge", comment = "实际收费金额", required = true)
    private BigDecimal realityCharge;

    /**
     * 费用时间
     */
    @MyColumn(value = "chargeTime", name = "charge_time", comment = "费用时间", required = true)
    private Date chargeTime;

    /**
     * 是否不可结算
     */
    @MyColumn(value = "asUnsettled", name = "as_unsettled", comment = "是否不可结算", required = true)
    private Integer asUnsettled;

    /**
     * 是否结算
     */
    @MyColumn(value = "asSettled", name = "as_settled", comment = "是否结算", required = true)
    private Integer asSettled;

    /**
     * 费用结算外键
     */
    @MyColumn(value = "chargeSettleId", name = "charge_settle_id", comment = "费用结算外键")
    private Integer chargeSettleId;

    /**
     * 物品名称
     */
    @MyColumn(value = "itemName", name = "item_name", comment = "物品名称")
    private String itemName;


    public Integer getRecId() {
        return recId;
    }

    public RecActualItemEntity setRecId(Integer recId) {
        this.recId = recId;
        return this;
    }

    public String getRecCode() {
        return recCode;
    }

    public RecActualItemEntity setRecCode(String recCode) {
        this.recCode = recCode;
        return this;
    }

    public Integer getServiceItemId() {
        return serviceItemId;
    }

    public RecActualItemEntity setServiceItemId(Integer serviceItemId) {
        this.serviceItemId = serviceItemId;
        return this;
    }

    public BigDecimal getItemPrice() {
        return itemPrice;
    }

    public RecActualItemEntity setItemPrice(BigDecimal itemPrice) {
        this.itemPrice = itemPrice;
        return this;
    }

    public BigDecimal getItemNumber() {
        return itemNumber;
    }

    public RecActualItemEntity setItemNumber(BigDecimal itemNumber) {
        this.itemNumber = itemNumber;
        return this;
    }

    public String getItemUnit() {
        return itemUnit;
    }

    public RecActualItemEntity setItemUnit(String itemUnit) {
        this.itemUnit = itemUnit;
        return this;
    }

    public BigDecimal getItemCharge() {
        return itemCharge;
    }

    public RecActualItemEntity setItemCharge(BigDecimal itemCharge) {
        this.itemCharge = itemCharge;
        return this;
    }

    public BigDecimal getDiscountCharge() {
        return discountCharge;
    }

    public RecActualItemEntity setDiscountCharge(BigDecimal discountCharge) {
        this.discountCharge = discountCharge;
        return this;
    }

    public BigDecimal getBenefitCharge() {
        return benefitCharge;
    }

    public RecActualItemEntity setBenefitCharge(BigDecimal benefitCharge) {
        this.benefitCharge = benefitCharge;
        return this;
    }

    public BigDecimal getRealityCharge() {
        return realityCharge;
    }

    public RecActualItemEntity setRealityCharge(BigDecimal realityCharge) {
        this.realityCharge = realityCharge;
        return this;
    }

    public Date getChargeTime() {
        return chargeTime;
    }

    public RecActualItemEntity setChargeTime(Date chargeTime) {
        this.chargeTime = chargeTime;
        return this;
    }

    public Integer getAsUnsettled() {
        return asUnsettled;
    }

    public RecActualItemEntity setAsUnsettled(Integer asUnsettled) {
        this.asUnsettled = asUnsettled;
        return this;
    }

    public Integer getAsSettled() {
        return asSettled;
    }

    public RecActualItemEntity setAsSettled(Integer asSettled) {
        this.asSettled = asSettled;
        return this;
    }

    public Integer getChargeSettleId() {
        return chargeSettleId;
    }

    public RecActualItemEntity setChargeSettleId(Integer chargeSettleId) {
        this.chargeSettleId = chargeSettleId;
        return this;
    }

    public String getItemName() {
        return itemName;
    }

    public RecActualItemEntity setItemName(String itemName) {
        this.itemName = itemName;
        return this;
    }
}